package java复习202503.A_类和接口的区别;

public class Main {

    public static void main(String[] args) {
        Demo demo = new Demo();
        System.out.println(demo.i1);
        System.out.println(demo.a1);
        demo.am1();
        demo.am2();
        demo.am3();

        demo.im1();
        demo.im3();

        // 接口中的静态方法不能被子类继承
//        demo.im4();


    }



}
